package com.hnx.admin.aurora.system.domain.param.dict.form;

import com.hnx.admin.aurora.annotation.KeyField;
import com.hnx.admin.aurora.annotation.RepeatTable;
import com.hnx.admin.aurora.annotation.ValidField;
import com.hnx.admin.aurora.web.json.BaseForm;
import lombok.Data;
import org.springframework.data.annotation.Id;

import javax.validation.constraints.NotEmpty;

/*
创建人： 倔强的头发
创建时间：2025/7/3
功能描述:

*/
@Data
@RepeatTable("sys_dict_type")
public class DictTypeForm extends BaseForm {
    @Id
    @KeyField("dict_id")
    private String dictId;
    @ValidField(msg = "字典名称重复",column = "dict_name")
    @NotEmpty(message = "字典名称不能为空")
    private String dictName;
    @ValidField(msg = "字典类型重复",column = "dict_type")
    @NotEmpty(message = "字典类型不能为空")
    private String dictType;
    private String status;
    private String remark;
}
